package com.ruoyi.wechat.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.wechat.domain.Image;

import java.util.Date;
import java.util.List;

public class CommunicationVo extends BaseEntity
{

    private static final long serialVersionUID = 1L;

    /** 营地交流id主键 */
    private String communicationId;

    /** 用户id */
    private String userId;

    /** 文字内容 */
    private String content;

    /** 时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date time;

    private String image;

    public void setCommunicationId(String communicationId)
    {
        this.communicationId = communicationId;
    }

    public String getCommunicationId()
    {
        return communicationId;
    }
    public void setUserId(String userId)
    {
        this.userId = userId;
    }

    public String getUserId()
    {
        return userId;
    }
    public void setContent(String content)
    {
        this.content = content;
    }

    public String getContent()
    {
        return content;
    }
    public void setTime(Date time)
    {
        this.time = time;
    }

    public Date getTime()
    {
        return time;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    @Override
    public String toString() {
        return "CommunicationVo{" +
                "communicationId='" + communicationId + '\'' +
                ", userId='" + userId + '\'' +
                ", content='" + content + '\'' +
                ", time=" + time +
                ", image='" + image + '\'' +
                '}';
    }
}
